package com.example.demo2.service;


import com.example.demo2.entity.Method;

import java.util.List;

public interface MethodService {
    //按id查询
    Method findById(Integer courseId);
    //按名字查询
    Method findByName(String courseName);
    //查询所有
    List<Method> findAll(Integer userId);
    //修改教学环节
    boolean updateTargetById(Integer courseId,String teacheWay);
    //修改评价方式
    boolean updateEvaluationById(Integer courseId, String evaluationKeywords);

}
